package com.deyuanyun.pic.pipe.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AdjunctLineExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AdjunctLineExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID_ is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID_ is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID_ =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID_ <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID_ >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID_ >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID_ <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID_ <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID_ like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID_ not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID_ in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID_ not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID_ between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID_ not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("CREATE_DATE =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("CREATE_DATE <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("CREATE_DATE >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_DATE >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("CREATE_DATE <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_DATE <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("CREATE_DATE in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("CREATE_DATE not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("CREATE_DATE between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_DATE not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("CREATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("CREATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("CREATE_USER =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("CREATE_USER <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("CREATE_USER >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_USER >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("CREATE_USER <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("CREATE_USER <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("CREATE_USER like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("CREATE_USER not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("CREATE_USER in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("CREATE_USER not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("CREATE_USER between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("CREATE_USER not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkIsNull() {
            addCriterion("CREATE_REMARK is null");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkIsNotNull() {
            addCriterion("CREATE_REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkEqualTo(String value) {
            addCriterion("CREATE_REMARK =", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotEqualTo(String value) {
            addCriterion("CREATE_REMARK <>", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkGreaterThan(String value) {
            addCriterion("CREATE_REMARK >", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_REMARK >=", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkLessThan(String value) {
            addCriterion("CREATE_REMARK <", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkLessThanOrEqualTo(String value) {
            addCriterion("CREATE_REMARK <=", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkLike(String value) {
            addCriterion("CREATE_REMARK like", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotLike(String value) {
            addCriterion("CREATE_REMARK not like", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkIn(List<String> values) {
            addCriterion("CREATE_REMARK in", values, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotIn(List<String> values) {
            addCriterion("CREATE_REMARK not in", values, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkBetween(String value1, String value2) {
            addCriterion("CREATE_REMARK between", value1, value2, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotBetween(String value1, String value2) {
            addCriterion("CREATE_REMARK not between", value1, value2, "createRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("UPDATE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("UPDATE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("UPDATE_DATE =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("UPDATE_DATE <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("UPDATE_DATE >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_DATE >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("UPDATE_DATE <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_DATE <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("UPDATE_DATE in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("UPDATE_DATE not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("UPDATE_DATE between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_DATE not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("UPDATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("UPDATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("UPDATE_USER =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("UPDATE_USER <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("UPDATE_USER >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATE_USER >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("UPDATE_USER <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("UPDATE_USER <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("UPDATE_USER like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("UPDATE_USER not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("UPDATE_USER in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("UPDATE_USER not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("UPDATE_USER between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("UPDATE_USER not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkIsNull() {
            addCriterion("UPDATE_REMARK is null");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkIsNotNull() {
            addCriterion("UPDATE_REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkEqualTo(String value) {
            addCriterion("UPDATE_REMARK =", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotEqualTo(String value) {
            addCriterion("UPDATE_REMARK <>", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkGreaterThan(String value) {
            addCriterion("UPDATE_REMARK >", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATE_REMARK >=", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkLessThan(String value) {
            addCriterion("UPDATE_REMARK <", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkLessThanOrEqualTo(String value) {
            addCriterion("UPDATE_REMARK <=", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkLike(String value) {
            addCriterion("UPDATE_REMARK like", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotLike(String value) {
            addCriterion("UPDATE_REMARK not like", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkIn(List<String> values) {
            addCriterion("UPDATE_REMARK in", values, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotIn(List<String> values) {
            addCriterion("UPDATE_REMARK not in", values, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkBetween(String value1, String value2) {
            addCriterion("UPDATE_REMARK between", value1, value2, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotBetween(String value1, String value2) {
            addCriterion("UPDATE_REMARK not between", value1, value2, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("DELETED is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("DELETED is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Short value) {
            addCriterion("DELETED =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Short value) {
            addCriterion("DELETED <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Short value) {
            addCriterion("DELETED >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Short value) {
            addCriterion("DELETED >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Short value) {
            addCriterion("DELETED <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Short value) {
            addCriterion("DELETED <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Short> values) {
            addCriterion("DELETED in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Short> values) {
            addCriterion("DELETED not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Short value1, Short value2) {
            addCriterion("DELETED between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Short value1, Short value2) {
            addCriterion("DELETED not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andVsersionIsNull() {
            addCriterion("VSERSION is null");
            return (Criteria) this;
        }

        public Criteria andVsersionIsNotNull() {
            addCriterion("VSERSION is not null");
            return (Criteria) this;
        }

        public Criteria andVsersionEqualTo(Short value) {
            addCriterion("VSERSION =", value, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionNotEqualTo(Short value) {
            addCriterion("VSERSION <>", value, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionGreaterThan(Short value) {
            addCriterion("VSERSION >", value, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionGreaterThanOrEqualTo(Short value) {
            addCriterion("VSERSION >=", value, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionLessThan(Short value) {
            addCriterion("VSERSION <", value, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionLessThanOrEqualTo(Short value) {
            addCriterion("VSERSION <=", value, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionIn(List<Short> values) {
            addCriterion("VSERSION in", values, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionNotIn(List<Short> values) {
            addCriterion("VSERSION not in", values, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionBetween(Short value1, Short value2) {
            addCriterion("VSERSION between", value1, value2, "vsersion");
            return (Criteria) this;
        }

        public Criteria andVsersionNotBetween(Short value1, Short value2) {
            addCriterion("VSERSION not between", value1, value2, "vsersion");
            return (Criteria) this;
        }

        public Criteria andIsNewestIsNull() {
            addCriterion("IS_NEWEST is null");
            return (Criteria) this;
        }

        public Criteria andIsNewestIsNotNull() {
            addCriterion("IS_NEWEST is not null");
            return (Criteria) this;
        }

        public Criteria andIsNewestEqualTo(Short value) {
            addCriterion("IS_NEWEST =", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestNotEqualTo(Short value) {
            addCriterion("IS_NEWEST <>", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestGreaterThan(Short value) {
            addCriterion("IS_NEWEST >", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestGreaterThanOrEqualTo(Short value) {
            addCriterion("IS_NEWEST >=", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestLessThan(Short value) {
            addCriterion("IS_NEWEST <", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestLessThanOrEqualTo(Short value) {
            addCriterion("IS_NEWEST <=", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestIn(List<Short> values) {
            addCriterion("IS_NEWEST in", values, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestNotIn(List<Short> values) {
            addCriterion("IS_NEWEST not in", values, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestBetween(Short value1, Short value2) {
            addCriterion("IS_NEWEST between", value1, value2, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestNotBetween(Short value1, Short value2) {
            addCriterion("IS_NEWEST not between", value1, value2, "isNewest");
            return (Criteria) this;
        }

        public Criteria andDataStatedIsNull() {
            addCriterion("DATA_STATED is null");
            return (Criteria) this;
        }

        public Criteria andDataStatedIsNotNull() {
            addCriterion("DATA_STATED is not null");
            return (Criteria) this;
        }

        public Criteria andDataStatedEqualTo(String value) {
            addCriterion("DATA_STATED =", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedNotEqualTo(String value) {
            addCriterion("DATA_STATED <>", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedGreaterThan(String value) {
            addCriterion("DATA_STATED >", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedGreaterThanOrEqualTo(String value) {
            addCriterion("DATA_STATED >=", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedLessThan(String value) {
            addCriterion("DATA_STATED <", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedLessThanOrEqualTo(String value) {
            addCriterion("DATA_STATED <=", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedLike(String value) {
            addCriterion("DATA_STATED like", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedNotLike(String value) {
            addCriterion("DATA_STATED not like", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedIn(List<String> values) {
            addCriterion("DATA_STATED in", values, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedNotIn(List<String> values) {
            addCriterion("DATA_STATED not in", values, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedBetween(String value1, String value2) {
            addCriterion("DATA_STATED between", value1, value2, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedNotBetween(String value1, String value2) {
            addCriterion("DATA_STATED not between", value1, value2, "dataStated");
            return (Criteria) this;
        }

        public Criteria andPipeLineIdIsNull() {
            addCriterion("PIPE_LINE_ID is null");
            return (Criteria) this;
        }

        public Criteria andPipeLineIdIsNotNull() {
            addCriterion("PIPE_LINE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andPipeLineIdEqualTo(String value) {
            addCriterion("PIPE_LINE_ID =", value, "pipeLineId");
            return (Criteria) this;
        }

        public Criteria andPipeLineIdNotEqualTo(String value) {
            addCriterion("PIPE_LINE_ID <>", value, "pipeLineId");
            return (Criteria) this;
        }

        public Criteria andPipeLineIdGreaterThan(String value) {
            addCriterion("PIPE_LINE_ID >", value, "pipeLineId");
            return (Criteria) this;
        }

        public Criteria andPipeLineIdGreaterThanOrEqualTo(String value) {
            addCriterion("PIPE_LINE_ID >=", value, "pipeLineId");
            return (Criteria) this;
        }

        public Criteria andPipeLineIdLessThan(String value) {
            addCriterion("PIPE_LINE_ID <", value, "pipeLineId");
            return (Criteria) this;
        }

        public Criteria andPipeLineIdLessThanOrEqualTo(String value) {
            addCriterion("PIPE_LINE_ID <=", value, "pipeLineId");
            return (Criteria) this;
        }

        public Criteria andPipeLineIdLike(String value) {
            addCriterion("PIPE_LINE_ID like", value, "pipeLineId");
            return (Criteria) this;
        }

        public Criteria andPipeLineIdNotLike(String value) {
            addCriterion("PIPE_LINE_ID not like", value, "pipeLineId");
            return (Criteria) this;
        }

        public Criteria andPipeLineIdIn(List<String> values) {
            addCriterion("PIPE_LINE_ID in", values, "pipeLineId");
            return (Criteria) this;
        }

        public Criteria andPipeLineIdNotIn(List<String> values) {
            addCriterion("PIPE_LINE_ID not in", values, "pipeLineId");
            return (Criteria) this;
        }

        public Criteria andPipeLineIdBetween(String value1, String value2) {
            addCriterion("PIPE_LINE_ID between", value1, value2, "pipeLineId");
            return (Criteria) this;
        }

        public Criteria andPipeLineIdNotBetween(String value1, String value2) {
            addCriterion("PIPE_LINE_ID not between", value1, value2, "pipeLineId");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("CODE is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("CODE is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("CODE =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("CODE <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("CODE >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("CODE >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("CODE <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("CODE <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("CODE like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("CODE not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("CODE in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("CODE not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("CODE between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("CODE not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCustomNumberIsNull() {
            addCriterion("CUSTOM_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andCustomNumberIsNotNull() {
            addCriterion("CUSTOM_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andCustomNumberEqualTo(String value) {
            addCriterion("CUSTOM_NUMBER =", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberNotEqualTo(String value) {
            addCriterion("CUSTOM_NUMBER <>", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberGreaterThan(String value) {
            addCriterion("CUSTOM_NUMBER >", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberGreaterThanOrEqualTo(String value) {
            addCriterion("CUSTOM_NUMBER >=", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberLessThan(String value) {
            addCriterion("CUSTOM_NUMBER <", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberLessThanOrEqualTo(String value) {
            addCriterion("CUSTOM_NUMBER <=", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberLike(String value) {
            addCriterion("CUSTOM_NUMBER like", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberNotLike(String value) {
            addCriterion("CUSTOM_NUMBER not like", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberIn(List<String> values) {
            addCriterion("CUSTOM_NUMBER in", values, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberNotIn(List<String> values) {
            addCriterion("CUSTOM_NUMBER not in", values, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberBetween(String value1, String value2) {
            addCriterion("CUSTOM_NUMBER between", value1, value2, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberNotBetween(String value1, String value2) {
            addCriterion("CUSTOM_NUMBER not between", value1, value2, "customNumber");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceTypeIsNull() {
            addCriterion("APPURTENANCE_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceTypeIsNotNull() {
            addCriterion("APPURTENANCE_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceTypeEqualTo(String value) {
            addCriterion("APPURTENANCE_TYPE =", value, "appurtenanceType");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceTypeNotEqualTo(String value) {
            addCriterion("APPURTENANCE_TYPE <>", value, "appurtenanceType");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceTypeGreaterThan(String value) {
            addCriterion("APPURTENANCE_TYPE >", value, "appurtenanceType");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceTypeGreaterThanOrEqualTo(String value) {
            addCriterion("APPURTENANCE_TYPE >=", value, "appurtenanceType");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceTypeLessThan(String value) {
            addCriterion("APPURTENANCE_TYPE <", value, "appurtenanceType");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceTypeLessThanOrEqualTo(String value) {
            addCriterion("APPURTENANCE_TYPE <=", value, "appurtenanceType");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceTypeLike(String value) {
            addCriterion("APPURTENANCE_TYPE like", value, "appurtenanceType");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceTypeNotLike(String value) {
            addCriterion("APPURTENANCE_TYPE not like", value, "appurtenanceType");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceTypeIn(List<String> values) {
            addCriterion("APPURTENANCE_TYPE in", values, "appurtenanceType");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceTypeNotIn(List<String> values) {
            addCriterion("APPURTENANCE_TYPE not in", values, "appurtenanceType");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceTypeBetween(String value1, String value2) {
            addCriterion("APPURTENANCE_TYPE between", value1, value2, "appurtenanceType");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceTypeNotBetween(String value1, String value2) {
            addCriterion("APPURTENANCE_TYPE not between", value1, value2, "appurtenanceType");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceStatusIsNull() {
            addCriterion("APPURTENANCE_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceStatusIsNotNull() {
            addCriterion("APPURTENANCE_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceStatusEqualTo(String value) {
            addCriterion("APPURTENANCE_STATUS =", value, "appurtenanceStatus");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceStatusNotEqualTo(String value) {
            addCriterion("APPURTENANCE_STATUS <>", value, "appurtenanceStatus");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceStatusGreaterThan(String value) {
            addCriterion("APPURTENANCE_STATUS >", value, "appurtenanceStatus");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceStatusGreaterThanOrEqualTo(String value) {
            addCriterion("APPURTENANCE_STATUS >=", value, "appurtenanceStatus");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceStatusLessThan(String value) {
            addCriterion("APPURTENANCE_STATUS <", value, "appurtenanceStatus");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceStatusLessThanOrEqualTo(String value) {
            addCriterion("APPURTENANCE_STATUS <=", value, "appurtenanceStatus");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceStatusLike(String value) {
            addCriterion("APPURTENANCE_STATUS like", value, "appurtenanceStatus");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceStatusNotLike(String value) {
            addCriterion("APPURTENANCE_STATUS not like", value, "appurtenanceStatus");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceStatusIn(List<String> values) {
            addCriterion("APPURTENANCE_STATUS in", values, "appurtenanceStatus");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceStatusNotIn(List<String> values) {
            addCriterion("APPURTENANCE_STATUS not in", values, "appurtenanceStatus");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceStatusBetween(String value1, String value2) {
            addCriterion("APPURTENANCE_STATUS between", value1, value2, "appurtenanceStatus");
            return (Criteria) this;
        }

        public Criteria andAppurtenanceStatusNotBetween(String value1, String value2) {
            addCriterion("APPURTENANCE_STATUS not between", value1, value2, "appurtenanceStatus");
            return (Criteria) this;
        }

        public Criteria andFromMileageIsNull() {
            addCriterion("FROM_MILEAGE is null");
            return (Criteria) this;
        }

        public Criteria andFromMileageIsNotNull() {
            addCriterion("FROM_MILEAGE is not null");
            return (Criteria) this;
        }

        public Criteria andFromMileageEqualTo(BigDecimal value) {
            addCriterion("FROM_MILEAGE =", value, "fromMileage");
            return (Criteria) this;
        }

        public Criteria andFromMileageNotEqualTo(BigDecimal value) {
            addCriterion("FROM_MILEAGE <>", value, "fromMileage");
            return (Criteria) this;
        }

        public Criteria andFromMileageGreaterThan(BigDecimal value) {
            addCriterion("FROM_MILEAGE >", value, "fromMileage");
            return (Criteria) this;
        }

        public Criteria andFromMileageGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("FROM_MILEAGE >=", value, "fromMileage");
            return (Criteria) this;
        }

        public Criteria andFromMileageLessThan(BigDecimal value) {
            addCriterion("FROM_MILEAGE <", value, "fromMileage");
            return (Criteria) this;
        }

        public Criteria andFromMileageLessThanOrEqualTo(BigDecimal value) {
            addCriterion("FROM_MILEAGE <=", value, "fromMileage");
            return (Criteria) this;
        }

        public Criteria andFromMileageIn(List<BigDecimal> values) {
            addCriterion("FROM_MILEAGE in", values, "fromMileage");
            return (Criteria) this;
        }

        public Criteria andFromMileageNotIn(List<BigDecimal> values) {
            addCriterion("FROM_MILEAGE not in", values, "fromMileage");
            return (Criteria) this;
        }

        public Criteria andFromMileageBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("FROM_MILEAGE between", value1, value2, "fromMileage");
            return (Criteria) this;
        }

        public Criteria andFromMileageNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("FROM_MILEAGE not between", value1, value2, "fromMileage");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIsNull() {
            addCriterion("FROM_REFERENCE is null");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIsNotNull() {
            addCriterion("FROM_REFERENCE is not null");
            return (Criteria) this;
        }

        public Criteria andFromReferenceEqualTo(String value) {
            addCriterion("FROM_REFERENCE =", value, "fromReference");
            return (Criteria) this;
        }

        public Criteria andFromReferenceNotEqualTo(String value) {
            addCriterion("FROM_REFERENCE <>", value, "fromReference");
            return (Criteria) this;
        }

        public Criteria andFromReferenceGreaterThan(String value) {
            addCriterion("FROM_REFERENCE >", value, "fromReference");
            return (Criteria) this;
        }

        public Criteria andFromReferenceGreaterThanOrEqualTo(String value) {
            addCriterion("FROM_REFERENCE >=", value, "fromReference");
            return (Criteria) this;
        }

        public Criteria andFromReferenceLessThan(String value) {
            addCriterion("FROM_REFERENCE <", value, "fromReference");
            return (Criteria) this;
        }

        public Criteria andFromReferenceLessThanOrEqualTo(String value) {
            addCriterion("FROM_REFERENCE <=", value, "fromReference");
            return (Criteria) this;
        }

        public Criteria andFromReferenceLike(String value) {
            addCriterion("FROM_REFERENCE like", value, "fromReference");
            return (Criteria) this;
        }

        public Criteria andFromReferenceNotLike(String value) {
            addCriterion("FROM_REFERENCE not like", value, "fromReference");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIn(List<String> values) {
            addCriterion("FROM_REFERENCE in", values, "fromReference");
            return (Criteria) this;
        }

        public Criteria andFromReferenceNotIn(List<String> values) {
            addCriterion("FROM_REFERENCE not in", values, "fromReference");
            return (Criteria) this;
        }

        public Criteria andFromReferenceBetween(String value1, String value2) {
            addCriterion("FROM_REFERENCE between", value1, value2, "fromReference");
            return (Criteria) this;
        }

        public Criteria andFromReferenceNotBetween(String value1, String value2) {
            addCriterion("FROM_REFERENCE not between", value1, value2, "fromReference");
            return (Criteria) this;
        }

        public Criteria andFromReferenceDistanceIsNull() {
            addCriterion("FROM_REFERENCE_DISTANCE is null");
            return (Criteria) this;
        }

        public Criteria andFromReferenceDistanceIsNotNull() {
            addCriterion("FROM_REFERENCE_DISTANCE is not null");
            return (Criteria) this;
        }

        public Criteria andFromReferenceDistanceEqualTo(BigDecimal value) {
            addCriterion("FROM_REFERENCE_DISTANCE =", value, "fromReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andFromReferenceDistanceNotEqualTo(BigDecimal value) {
            addCriterion("FROM_REFERENCE_DISTANCE <>", value, "fromReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andFromReferenceDistanceGreaterThan(BigDecimal value) {
            addCriterion("FROM_REFERENCE_DISTANCE >", value, "fromReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andFromReferenceDistanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("FROM_REFERENCE_DISTANCE >=", value, "fromReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andFromReferenceDistanceLessThan(BigDecimal value) {
            addCriterion("FROM_REFERENCE_DISTANCE <", value, "fromReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andFromReferenceDistanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("FROM_REFERENCE_DISTANCE <=", value, "fromReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andFromReferenceDistanceIn(List<BigDecimal> values) {
            addCriterion("FROM_REFERENCE_DISTANCE in", values, "fromReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andFromReferenceDistanceNotIn(List<BigDecimal> values) {
            addCriterion("FROM_REFERENCE_DISTANCE not in", values, "fromReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andFromReferenceDistanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("FROM_REFERENCE_DISTANCE between", value1, value2, "fromReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andFromReferenceDistanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("FROM_REFERENCE_DISTANCE not between", value1, value2, "fromReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIdIsNull() {
            addCriterion("FROM_REFERENCE_ID is null");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIdIsNotNull() {
            addCriterion("FROM_REFERENCE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIdEqualTo(String value) {
            addCriterion("FROM_REFERENCE_ID =", value, "fromReferenceId");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIdNotEqualTo(String value) {
            addCriterion("FROM_REFERENCE_ID <>", value, "fromReferenceId");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIdGreaterThan(String value) {
            addCriterion("FROM_REFERENCE_ID >", value, "fromReferenceId");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIdGreaterThanOrEqualTo(String value) {
            addCriterion("FROM_REFERENCE_ID >=", value, "fromReferenceId");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIdLessThan(String value) {
            addCriterion("FROM_REFERENCE_ID <", value, "fromReferenceId");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIdLessThanOrEqualTo(String value) {
            addCriterion("FROM_REFERENCE_ID <=", value, "fromReferenceId");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIdLike(String value) {
            addCriterion("FROM_REFERENCE_ID like", value, "fromReferenceId");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIdNotLike(String value) {
            addCriterion("FROM_REFERENCE_ID not like", value, "fromReferenceId");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIdIn(List<String> values) {
            addCriterion("FROM_REFERENCE_ID in", values, "fromReferenceId");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIdNotIn(List<String> values) {
            addCriterion("FROM_REFERENCE_ID not in", values, "fromReferenceId");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIdBetween(String value1, String value2) {
            addCriterion("FROM_REFERENCE_ID between", value1, value2, "fromReferenceId");
            return (Criteria) this;
        }

        public Criteria andFromReferenceIdNotBetween(String value1, String value2) {
            addCriterion("FROM_REFERENCE_ID not between", value1, value2, "fromReferenceId");
            return (Criteria) this;
        }

        public Criteria andToMileageIsNull() {
            addCriterion("TO_MILEAGE is null");
            return (Criteria) this;
        }

        public Criteria andToMileageIsNotNull() {
            addCriterion("TO_MILEAGE is not null");
            return (Criteria) this;
        }

        public Criteria andToMileageEqualTo(BigDecimal value) {
            addCriterion("TO_MILEAGE =", value, "toMileage");
            return (Criteria) this;
        }

        public Criteria andToMileageNotEqualTo(BigDecimal value) {
            addCriterion("TO_MILEAGE <>", value, "toMileage");
            return (Criteria) this;
        }

        public Criteria andToMileageGreaterThan(BigDecimal value) {
            addCriterion("TO_MILEAGE >", value, "toMileage");
            return (Criteria) this;
        }

        public Criteria andToMileageGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TO_MILEAGE >=", value, "toMileage");
            return (Criteria) this;
        }

        public Criteria andToMileageLessThan(BigDecimal value) {
            addCriterion("TO_MILEAGE <", value, "toMileage");
            return (Criteria) this;
        }

        public Criteria andToMileageLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TO_MILEAGE <=", value, "toMileage");
            return (Criteria) this;
        }

        public Criteria andToMileageIn(List<BigDecimal> values) {
            addCriterion("TO_MILEAGE in", values, "toMileage");
            return (Criteria) this;
        }

        public Criteria andToMileageNotIn(List<BigDecimal> values) {
            addCriterion("TO_MILEAGE not in", values, "toMileage");
            return (Criteria) this;
        }

        public Criteria andToMileageBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TO_MILEAGE between", value1, value2, "toMileage");
            return (Criteria) this;
        }

        public Criteria andToMileageNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TO_MILEAGE not between", value1, value2, "toMileage");
            return (Criteria) this;
        }

        public Criteria andToReferenceIsNull() {
            addCriterion("TO_REFERENCE is null");
            return (Criteria) this;
        }

        public Criteria andToReferenceIsNotNull() {
            addCriterion("TO_REFERENCE is not null");
            return (Criteria) this;
        }

        public Criteria andToReferenceEqualTo(String value) {
            addCriterion("TO_REFERENCE =", value, "toReference");
            return (Criteria) this;
        }

        public Criteria andToReferenceNotEqualTo(String value) {
            addCriterion("TO_REFERENCE <>", value, "toReference");
            return (Criteria) this;
        }

        public Criteria andToReferenceGreaterThan(String value) {
            addCriterion("TO_REFERENCE >", value, "toReference");
            return (Criteria) this;
        }

        public Criteria andToReferenceGreaterThanOrEqualTo(String value) {
            addCriterion("TO_REFERENCE >=", value, "toReference");
            return (Criteria) this;
        }

        public Criteria andToReferenceLessThan(String value) {
            addCriterion("TO_REFERENCE <", value, "toReference");
            return (Criteria) this;
        }

        public Criteria andToReferenceLessThanOrEqualTo(String value) {
            addCriterion("TO_REFERENCE <=", value, "toReference");
            return (Criteria) this;
        }

        public Criteria andToReferenceLike(String value) {
            addCriterion("TO_REFERENCE like", value, "toReference");
            return (Criteria) this;
        }

        public Criteria andToReferenceNotLike(String value) {
            addCriterion("TO_REFERENCE not like", value, "toReference");
            return (Criteria) this;
        }

        public Criteria andToReferenceIn(List<String> values) {
            addCriterion("TO_REFERENCE in", values, "toReference");
            return (Criteria) this;
        }

        public Criteria andToReferenceNotIn(List<String> values) {
            addCriterion("TO_REFERENCE not in", values, "toReference");
            return (Criteria) this;
        }

        public Criteria andToReferenceBetween(String value1, String value2) {
            addCriterion("TO_REFERENCE between", value1, value2, "toReference");
            return (Criteria) this;
        }

        public Criteria andToReferenceNotBetween(String value1, String value2) {
            addCriterion("TO_REFERENCE not between", value1, value2, "toReference");
            return (Criteria) this;
        }

        public Criteria andToReferenceDistanceIsNull() {
            addCriterion("TO_REFERENCE_DISTANCE is null");
            return (Criteria) this;
        }

        public Criteria andToReferenceDistanceIsNotNull() {
            addCriterion("TO_REFERENCE_DISTANCE is not null");
            return (Criteria) this;
        }

        public Criteria andToReferenceDistanceEqualTo(BigDecimal value) {
            addCriterion("TO_REFERENCE_DISTANCE =", value, "toReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andToReferenceDistanceNotEqualTo(BigDecimal value) {
            addCriterion("TO_REFERENCE_DISTANCE <>", value, "toReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andToReferenceDistanceGreaterThan(BigDecimal value) {
            addCriterion("TO_REFERENCE_DISTANCE >", value, "toReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andToReferenceDistanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TO_REFERENCE_DISTANCE >=", value, "toReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andToReferenceDistanceLessThan(BigDecimal value) {
            addCriterion("TO_REFERENCE_DISTANCE <", value, "toReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andToReferenceDistanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TO_REFERENCE_DISTANCE <=", value, "toReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andToReferenceDistanceIn(List<BigDecimal> values) {
            addCriterion("TO_REFERENCE_DISTANCE in", values, "toReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andToReferenceDistanceNotIn(List<BigDecimal> values) {
            addCriterion("TO_REFERENCE_DISTANCE not in", values, "toReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andToReferenceDistanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TO_REFERENCE_DISTANCE between", value1, value2, "toReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andToReferenceDistanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TO_REFERENCE_DISTANCE not between", value1, value2, "toReferenceDistance");
            return (Criteria) this;
        }

        public Criteria andToReferenceIdIsNull() {
            addCriterion("TO_REFERENCE_ID is null");
            return (Criteria) this;
        }

        public Criteria andToReferenceIdIsNotNull() {
            addCriterion("TO_REFERENCE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andToReferenceIdEqualTo(String value) {
            addCriterion("TO_REFERENCE_ID =", value, "toReferenceId");
            return (Criteria) this;
        }

        public Criteria andToReferenceIdNotEqualTo(String value) {
            addCriterion("TO_REFERENCE_ID <>", value, "toReferenceId");
            return (Criteria) this;
        }

        public Criteria andToReferenceIdGreaterThan(String value) {
            addCriterion("TO_REFERENCE_ID >", value, "toReferenceId");
            return (Criteria) this;
        }

        public Criteria andToReferenceIdGreaterThanOrEqualTo(String value) {
            addCriterion("TO_REFERENCE_ID >=", value, "toReferenceId");
            return (Criteria) this;
        }

        public Criteria andToReferenceIdLessThan(String value) {
            addCriterion("TO_REFERENCE_ID <", value, "toReferenceId");
            return (Criteria) this;
        }

        public Criteria andToReferenceIdLessThanOrEqualTo(String value) {
            addCriterion("TO_REFERENCE_ID <=", value, "toReferenceId");
            return (Criteria) this;
        }

        public Criteria andToReferenceIdLike(String value) {
            addCriterion("TO_REFERENCE_ID like", value, "toReferenceId");
            return (Criteria) this;
        }

        public Criteria andToReferenceIdNotLike(String value) {
            addCriterion("TO_REFERENCE_ID not like", value, "toReferenceId");
            return (Criteria) this;
        }

        public Criteria andToReferenceIdIn(List<String> values) {
            addCriterion("TO_REFERENCE_ID in", values, "toReferenceId");
            return (Criteria) this;
        }

        public Criteria andToReferenceIdNotIn(List<String> values) {
            addCriterion("TO_REFERENCE_ID not in", values, "toReferenceId");
            return (Criteria) this;
        }

        public Criteria andToReferenceIdBetween(String value1, String value2) {
            addCriterion("TO_REFERENCE_ID between", value1, value2, "toReferenceId");
            return (Criteria) this;
        }

        public Criteria andToReferenceIdNotBetween(String value1, String value2) {
            addCriterion("TO_REFERENCE_ID not between", value1, value2, "toReferenceId");
            return (Criteria) this;
        }

        public Criteria andRecorderIsNull() {
            addCriterion("RECORDER is null");
            return (Criteria) this;
        }

        public Criteria andRecorderIsNotNull() {
            addCriterion("RECORDER is not null");
            return (Criteria) this;
        }

        public Criteria andRecorderEqualTo(String value) {
            addCriterion("RECORDER =", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderNotEqualTo(String value) {
            addCriterion("RECORDER <>", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderGreaterThan(String value) {
            addCriterion("RECORDER >", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderGreaterThanOrEqualTo(String value) {
            addCriterion("RECORDER >=", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderLessThan(String value) {
            addCriterion("RECORDER <", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderLessThanOrEqualTo(String value) {
            addCriterion("RECORDER <=", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderLike(String value) {
            addCriterion("RECORDER like", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderNotLike(String value) {
            addCriterion("RECORDER not like", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderIn(List<String> values) {
            addCriterion("RECORDER in", values, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderNotIn(List<String> values) {
            addCriterion("RECORDER not in", values, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderBetween(String value1, String value2) {
            addCriterion("RECORDER between", value1, value2, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderNotBetween(String value1, String value2) {
            addCriterion("RECORDER not between", value1, value2, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecordtimeIsNull() {
            addCriterion("RECORDTIME is null");
            return (Criteria) this;
        }

        public Criteria andRecordtimeIsNotNull() {
            addCriterion("RECORDTIME is not null");
            return (Criteria) this;
        }

        public Criteria andRecordtimeEqualTo(Date value) {
            addCriterion("RECORDTIME =", value, "recordtime");
            return (Criteria) this;
        }

        public Criteria andRecordtimeNotEqualTo(Date value) {
            addCriterion("RECORDTIME <>", value, "recordtime");
            return (Criteria) this;
        }

        public Criteria andRecordtimeGreaterThan(Date value) {
            addCriterion("RECORDTIME >", value, "recordtime");
            return (Criteria) this;
        }

        public Criteria andRecordtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("RECORDTIME >=", value, "recordtime");
            return (Criteria) this;
        }

        public Criteria andRecordtimeLessThan(Date value) {
            addCriterion("RECORDTIME <", value, "recordtime");
            return (Criteria) this;
        }

        public Criteria andRecordtimeLessThanOrEqualTo(Date value) {
            addCriterion("RECORDTIME <=", value, "recordtime");
            return (Criteria) this;
        }

        public Criteria andRecordtimeIn(List<Date> values) {
            addCriterion("RECORDTIME in", values, "recordtime");
            return (Criteria) this;
        }

        public Criteria andRecordtimeNotIn(List<Date> values) {
            addCriterion("RECORDTIME not in", values, "recordtime");
            return (Criteria) this;
        }

        public Criteria andRecordtimeBetween(Date value1, Date value2) {
            addCriterion("RECORDTIME between", value1, value2, "recordtime");
            return (Criteria) this;
        }

        public Criteria andRecordtimeNotBetween(Date value1, Date value2) {
            addCriterion("RECORDTIME not between", value1, value2, "recordtime");
            return (Criteria) this;
        }

        public Criteria andGisIdIsNull() {
            addCriterion("GIS_ID is null");
            return (Criteria) this;
        }

        public Criteria andGisIdIsNotNull() {
            addCriterion("GIS_ID is not null");
            return (Criteria) this;
        }

        public Criteria andGisIdEqualTo(String value) {
            addCriterion("GIS_ID =", value, "gisId");
            return (Criteria) this;
        }

        public Criteria andGisIdNotEqualTo(String value) {
            addCriterion("GIS_ID <>", value, "gisId");
            return (Criteria) this;
        }

        public Criteria andGisIdGreaterThan(String value) {
            addCriterion("GIS_ID >", value, "gisId");
            return (Criteria) this;
        }

        public Criteria andGisIdGreaterThanOrEqualTo(String value) {
            addCriterion("GIS_ID >=", value, "gisId");
            return (Criteria) this;
        }

        public Criteria andGisIdLessThan(String value) {
            addCriterion("GIS_ID <", value, "gisId");
            return (Criteria) this;
        }

        public Criteria andGisIdLessThanOrEqualTo(String value) {
            addCriterion("GIS_ID <=", value, "gisId");
            return (Criteria) this;
        }

        public Criteria andGisIdLike(String value) {
            addCriterion("GIS_ID like", value, "gisId");
            return (Criteria) this;
        }

        public Criteria andGisIdNotLike(String value) {
            addCriterion("GIS_ID not like", value, "gisId");
            return (Criteria) this;
        }

        public Criteria andGisIdIn(List<String> values) {
            addCriterion("GIS_ID in", values, "gisId");
            return (Criteria) this;
        }

        public Criteria andGisIdNotIn(List<String> values) {
            addCriterion("GIS_ID not in", values, "gisId");
            return (Criteria) this;
        }

        public Criteria andGisIdBetween(String value1, String value2) {
            addCriterion("GIS_ID between", value1, value2, "gisId");
            return (Criteria) this;
        }

        public Criteria andGisIdNotBetween(String value1, String value2) {
            addCriterion("GIS_ID not between", value1, value2, "gisId");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathIsNull() {
            addCriterion("ORG_BIZ_PATH is null");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathIsNotNull() {
            addCriterion("ORG_BIZ_PATH is not null");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathEqualTo(String value) {
            addCriterion("ORG_BIZ_PATH =", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathNotEqualTo(String value) {
            addCriterion("ORG_BIZ_PATH <>", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathGreaterThan(String value) {
            addCriterion("ORG_BIZ_PATH >", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_BIZ_PATH >=", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathLessThan(String value) {
            addCriterion("ORG_BIZ_PATH <", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathLessThanOrEqualTo(String value) {
            addCriterion("ORG_BIZ_PATH <=", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathLike(String value) {
            addCriterion("ORG_BIZ_PATH like", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathNotLike(String value) {
            addCriterion("ORG_BIZ_PATH not like", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathIn(List<String> values) {
            addCriterion("ORG_BIZ_PATH in", values, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathNotIn(List<String> values) {
            addCriterion("ORG_BIZ_PATH not in", values, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathBetween(String value1, String value2) {
            addCriterion("ORG_BIZ_PATH between", value1, value2, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathNotBetween(String value1, String value2) {
            addCriterion("ORG_BIZ_PATH not between", value1, value2, "orgBizPath");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}